package com.learn.sc.consul.comsumer.consulcomsumer.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

@Component
public class FeignRemoteHystrix implements FeignRemote {

	@Override
	public String hello(@RequestParam(value = "name") String name) {
		return "hello " + name + ", invoke fail!!!";
	}
}
